<form method="post" action="/uadmin/index/add">
    <table>
        <thead>
        <tr>
            <th>计划投放时间</th>
            <th>实际投放时间</th>
            <th>投放渠道</th>
            <th>投放地区</th>
            <th>点击数</th>
            <th>下载数</th>
            <th>转化率</th>
            <th>结算模式</th>
            <th>金额</th>
        </tr>
        </thead>
        <tr>
            <td><input name="a" /></td>
            <td><input name="b" /></td>
            <td><input name="c" /></td>
            <td><input name="d" /></td>
            <td><input name="e" /></td>
            <td><input name="f" /></td>
            <td><input name="g" /></td>
            <td><input name="h" /></td>
            <td><input name="r" /></td>
        </tr>
        <tbody>
        </tbody>
    </table>

    <p><input value="提交" type="submit" /></p>
</form>

<script>
    var status = <%= status %>;
    console.log(document.getElementsByName('a'));
    if(status === "true"){
        alert('添加成功');
    }else if(status === "false")
        alert('<%= msg %>');
</script>